import BasicLayout from '@/layouts/basic-layout';

const meta = {
    auth: true
};

const pre = 'news-';

export default {
    path: '/news',
    name: 'news',
    redirect: {
        name: `${pre}messages`
    },
    meta,
    component: BasicLayout,
    children: [
        {
            path: 'messages',
            name: `${pre}messages`,
            meta: {
                ...meta,
                title: '消息通知'
            },
            component: () => import('@/pages/news/messages')
        }, /*   {
            path: 'address-book',
            name: `${pre}address-book`,
            meta: {
                ...meta,
                title: '消息通知'
            },
            component: () => import('@/pages/news/address-book')
        },*/
    ]
};
